#pragma once
#include <SFML/Window/Event.hpp>
#include <nice2d/message.h>

class SFMLMessage : public Message
{
public:
    SFMLMessage() = delete;
    SFMLMessage(const sf::Event &newEvent):
        Message(MessageType_SFML),
       event(newEvent)
    {
    }

    ~SFMLMessage()
    {
    }
public:
    sf::Event getEvent()const
    {
        return event;
    }
private:
    sf::Event event;
};
